package com.beamfield.dao.mixstation;

import com.beamfield.model.MixProductConcrete;
import com.beamfield.modelVo.MixSquareVo;
import com.beamfield.modelVo.MixSuppliesVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface MixProductConcreteMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MixProductConcrete record);

    int insertSelective(MixProductConcrete record);

    MixProductConcrete selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MixProductConcrete record);

    int updateByPrimaryKey(MixProductConcrete record);

    MixProductConcrete selectByConcreteRearatioId(@Param("concrete_rearatio_id") Long concrete_rearatio_id);

    List<MixSuppliesVo> selectGroupByMixPlace(@Param("beamId") Long beamId);

    List<MixSquareVo> selectSquare(@Param("beamId") Long beamId);
}